package cn.task.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class TaskExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TaskExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andTaskidIsNull() {
            addCriterion("taskId is null");
            return (Criteria) this;
        }

        public Criteria andTaskidIsNotNull() {
            addCriterion("taskId is not null");
            return (Criteria) this;
        }

        public Criteria andTaskidEqualTo(String value) {
            addCriterion("taskId =", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidNotEqualTo(String value) {
            addCriterion("taskId <>", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidGreaterThan(String value) {
            addCriterion("taskId >", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidGreaterThanOrEqualTo(String value) {
            addCriterion("taskId >=", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidLessThan(String value) {
            addCriterion("taskId <", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidLessThanOrEqualTo(String value) {
            addCriterion("taskId <=", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidLike(String value) {
            addCriterion("taskId like", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidNotLike(String value) {
            addCriterion("taskId not like", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidIn(List<String> values) {
            addCriterion("taskId in", values, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidNotIn(List<String> values) {
            addCriterion("taskId not in", values, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidBetween(String value1, String value2) {
            addCriterion("taskId between", value1, value2, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidNotBetween(String value1, String value2) {
            addCriterion("taskId not between", value1, value2, "taskid");
            return (Criteria) this;
        }

        public Criteria andTasknameIsNull() {
            addCriterion("taskName is null");
            return (Criteria) this;
        }

        public Criteria andTasknameIsNotNull() {
            addCriterion("taskName is not null");
            return (Criteria) this;
        }

        public Criteria andTasknameEqualTo(String value) {
            addCriterion("taskName =", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameNotEqualTo(String value) {
            addCriterion("taskName <>", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameGreaterThan(String value) {
            addCriterion("taskName >", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameGreaterThanOrEqualTo(String value) {
            addCriterion("taskName >=", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameLessThan(String value) {
            addCriterion("taskName <", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameLessThanOrEqualTo(String value) {
            addCriterion("taskName <=", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameLike(String value) {
            addCriterion("taskName like", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameNotLike(String value) {
            addCriterion("taskName not like", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameIn(List<String> values) {
            addCriterion("taskName in", values, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameNotIn(List<String> values) {
            addCriterion("taskName not in", values, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameBetween(String value1, String value2) {
            addCriterion("taskName between", value1, value2, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameNotBetween(String value1, String value2) {
            addCriterion("taskName not between", value1, value2, "taskname");
            return (Criteria) this;
        }

        public Criteria andCommissionIsNull() {
            addCriterion("commission is null");
            return (Criteria) this;
        }

        public Criteria andCommissionIsNotNull() {
            addCriterion("commission is not null");
            return (Criteria) this;
        }

        public Criteria andCommissionEqualTo(Float value) {
            addCriterion("commission =", value, "commission");
            return (Criteria) this;
        }

        public Criteria andCommissionNotEqualTo(Float value) {
            addCriterion("commission <>", value, "commission");
            return (Criteria) this;
        }

        public Criteria andCommissionGreaterThan(Float value) {
            addCriterion("commission >", value, "commission");
            return (Criteria) this;
        }

        public Criteria andCommissionGreaterThanOrEqualTo(Float value) {
            addCriterion("commission >=", value, "commission");
            return (Criteria) this;
        }

        public Criteria andCommissionLessThan(Float value) {
            addCriterion("commission <", value, "commission");
            return (Criteria) this;
        }

        public Criteria andCommissionLessThanOrEqualTo(Float value) {
            addCriterion("commission <=", value, "commission");
            return (Criteria) this;
        }

        public Criteria andCommissionIn(List<Float> values) {
            addCriterion("commission in", values, "commission");
            return (Criteria) this;
        }

        public Criteria andCommissionNotIn(List<Float> values) {
            addCriterion("commission not in", values, "commission");
            return (Criteria) this;
        }

        public Criteria andCommissionBetween(Float value1, Float value2) {
            addCriterion("commission between", value1, value2, "commission");
            return (Criteria) this;
        }

        public Criteria andCommissionNotBetween(Float value1, Float value2) {
            addCriterion("commission not between", value1, value2, "commission");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(String value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(String value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(String value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(String value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(String value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLike(String value) {
            addCriterion("state like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotLike(String value) {
            addCriterion("state not like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<String> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<String> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(String value1, String value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(String value1, String value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andTasktypeIsNull() {
            addCriterion("taskType is null");
            return (Criteria) this;
        }

        public Criteria andTasktypeIsNotNull() {
            addCriterion("taskType is not null");
            return (Criteria) this;
        }

        public Criteria andTasktypeEqualTo(String value) {
            addCriterion("taskType =", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotEqualTo(String value) {
            addCriterion("taskType <>", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeGreaterThan(String value) {
            addCriterion("taskType >", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeGreaterThanOrEqualTo(String value) {
            addCriterion("taskType >=", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLessThan(String value) {
            addCriterion("taskType <", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLessThanOrEqualTo(String value) {
            addCriterion("taskType <=", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLike(String value) {
            addCriterion("taskType like", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotLike(String value) {
            addCriterion("taskType not like", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeIn(List<String> values) {
            addCriterion("taskType in", values, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotIn(List<String> values) {
            addCriterion("taskType not in", values, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeBetween(String value1, String value2) {
            addCriterion("taskType between", value1, value2, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotBetween(String value1, String value2) {
            addCriterion("taskType not between", value1, value2, "tasktype");
            return (Criteria) this;
        }

        public Criteria andBegindateIsNull() {
            addCriterion("beginDate is null");
            return (Criteria) this;
        }

        public Criteria andBegindateIsNotNull() {
            addCriterion("beginDate is not null");
            return (Criteria) this;
        }

        public Criteria andBegindateEqualTo(Date value) {
            addCriterionForJDBCDate("beginDate =", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateNotEqualTo(Date value) {
            addCriterionForJDBCDate("beginDate <>", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateGreaterThan(Date value) {
            addCriterionForJDBCDate("beginDate >", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("beginDate >=", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateLessThan(Date value) {
            addCriterionForJDBCDate("beginDate <", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("beginDate <=", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateIn(List<Date> values) {
            addCriterionForJDBCDate("beginDate in", values, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateNotIn(List<Date> values) {
            addCriterionForJDBCDate("beginDate not in", values, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("beginDate between", value1, value2, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("beginDate not between", value1, value2, "begindate");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("city is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("city is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("city =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("city <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("city >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("city >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("city <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("city <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("city like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("city not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("city in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("city not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("city between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("city not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andJoinnumberIsNull() {
            addCriterion("joinNumber is null");
            return (Criteria) this;
        }

        public Criteria andJoinnumberIsNotNull() {
            addCriterion("joinNumber is not null");
            return (Criteria) this;
        }

        public Criteria andJoinnumberEqualTo(String value) {
            addCriterion("joinNumber =", value, "joinnumber");
            return (Criteria) this;
        }

        public Criteria andJoinnumberNotEqualTo(String value) {
            addCriterion("joinNumber <>", value, "joinnumber");
            return (Criteria) this;
        }

        public Criteria andJoinnumberGreaterThan(String value) {
            addCriterion("joinNumber >", value, "joinnumber");
            return (Criteria) this;
        }

        public Criteria andJoinnumberGreaterThanOrEqualTo(String value) {
            addCriterion("joinNumber >=", value, "joinnumber");
            return (Criteria) this;
        }

        public Criteria andJoinnumberLessThan(String value) {
            addCriterion("joinNumber <", value, "joinnumber");
            return (Criteria) this;
        }

        public Criteria andJoinnumberLessThanOrEqualTo(String value) {
            addCriterion("joinNumber <=", value, "joinnumber");
            return (Criteria) this;
        }

        public Criteria andJoinnumberLike(String value) {
            addCriterion("joinNumber like", value, "joinnumber");
            return (Criteria) this;
        }

        public Criteria andJoinnumberNotLike(String value) {
            addCriterion("joinNumber not like", value, "joinnumber");
            return (Criteria) this;
        }

        public Criteria andJoinnumberIn(List<String> values) {
            addCriterion("joinNumber in", values, "joinnumber");
            return (Criteria) this;
        }

        public Criteria andJoinnumberNotIn(List<String> values) {
            addCriterion("joinNumber not in", values, "joinnumber");
            return (Criteria) this;
        }

        public Criteria andJoinnumberBetween(String value1, String value2) {
            addCriterion("joinNumber between", value1, value2, "joinnumber");
            return (Criteria) this;
        }

        public Criteria andJoinnumberNotBetween(String value1, String value2) {
            addCriterion("joinNumber not between", value1, value2, "joinnumber");
            return (Criteria) this;
        }

        public Criteria andEnddateIsNull() {
            addCriterion("endDate is null");
            return (Criteria) this;
        }

        public Criteria andEnddateIsNotNull() {
            addCriterion("endDate is not null");
            return (Criteria) this;
        }

        public Criteria andEnddateEqualTo(Date value) {
            addCriterionForJDBCDate("endDate =", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotEqualTo(Date value) {
            addCriterionForJDBCDate("endDate <>", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateGreaterThan(Date value) {
            addCriterionForJDBCDate("endDate >", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("endDate >=", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateLessThan(Date value) {
            addCriterionForJDBCDate("endDate <", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("endDate <=", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateIn(List<Date> values) {
            addCriterionForJDBCDate("endDate in", values, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotIn(List<Date> values) {
            addCriterionForJDBCDate("endDate not in", values, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("endDate between", value1, value2, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("endDate not between", value1, value2, "enddate");
            return (Criteria) this;
        }

        public Criteria andReleaseridIsNull() {
            addCriterion("releaserId is null");
            return (Criteria) this;
        }

        public Criteria andReleaseridIsNotNull() {
            addCriterion("releaserId is not null");
            return (Criteria) this;
        }

        public Criteria andReleaseridEqualTo(String value) {
            addCriterion("releaserId =", value, "releaserid");
            return (Criteria) this;
        }

        public Criteria andReleaseridNotEqualTo(String value) {
            addCriterion("releaserId <>", value, "releaserid");
            return (Criteria) this;
        }

        public Criteria andReleaseridGreaterThan(String value) {
            addCriterion("releaserId >", value, "releaserid");
            return (Criteria) this;
        }

        public Criteria andReleaseridGreaterThanOrEqualTo(String value) {
            addCriterion("releaserId >=", value, "releaserid");
            return (Criteria) this;
        }

        public Criteria andReleaseridLessThan(String value) {
            addCriterion("releaserId <", value, "releaserid");
            return (Criteria) this;
        }

        public Criteria andReleaseridLessThanOrEqualTo(String value) {
            addCriterion("releaserId <=", value, "releaserid");
            return (Criteria) this;
        }

        public Criteria andReleaseridLike(String value) {
            addCriterion("releaserId like", value, "releaserid");
            return (Criteria) this;
        }

        public Criteria andReleaseridNotLike(String value) {
            addCriterion("releaserId not like", value, "releaserid");
            return (Criteria) this;
        }

        public Criteria andReleaseridIn(List<String> values) {
            addCriterion("releaserId in", values, "releaserid");
            return (Criteria) this;
        }

        public Criteria andReleaseridNotIn(List<String> values) {
            addCriterion("releaserId not in", values, "releaserid");
            return (Criteria) this;
        }

        public Criteria andReleaseridBetween(String value1, String value2) {
            addCriterion("releaserId between", value1, value2, "releaserid");
            return (Criteria) this;
        }

        public Criteria andReleaseridNotBetween(String value1, String value2) {
            addCriterion("releaserId not between", value1, value2, "releaserid");
            return (Criteria) this;
        }

        public Criteria andReceiveidIsNull() {
            addCriterion("receiveId is null");
            return (Criteria) this;
        }

        public Criteria andReceiveidIsNotNull() {
            addCriterion("receiveId is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveidEqualTo(String value) {
            addCriterion("receiveId =", value, "receiveid");
            return (Criteria) this;
        }

        public Criteria andReceiveidNotEqualTo(String value) {
            addCriterion("receiveId <>", value, "receiveid");
            return (Criteria) this;
        }

        public Criteria andReceiveidGreaterThan(String value) {
            addCriterion("receiveId >", value, "receiveid");
            return (Criteria) this;
        }

        public Criteria andReceiveidGreaterThanOrEqualTo(String value) {
            addCriterion("receiveId >=", value, "receiveid");
            return (Criteria) this;
        }

        public Criteria andReceiveidLessThan(String value) {
            addCriterion("receiveId <", value, "receiveid");
            return (Criteria) this;
        }

        public Criteria andReceiveidLessThanOrEqualTo(String value) {
            addCriterion("receiveId <=", value, "receiveid");
            return (Criteria) this;
        }

        public Criteria andReceiveidLike(String value) {
            addCriterion("receiveId like", value, "receiveid");
            return (Criteria) this;
        }

        public Criteria andReceiveidNotLike(String value) {
            addCriterion("receiveId not like", value, "receiveid");
            return (Criteria) this;
        }

        public Criteria andReceiveidIn(List<String> values) {
            addCriterion("receiveId in", values, "receiveid");
            return (Criteria) this;
        }

        public Criteria andReceiveidNotIn(List<String> values) {
            addCriterion("receiveId not in", values, "receiveid");
            return (Criteria) this;
        }

        public Criteria andReceiveidBetween(String value1, String value2) {
            addCriterion("receiveId between", value1, value2, "receiveid");
            return (Criteria) this;
        }

        public Criteria andReceiveidNotBetween(String value1, String value2) {
            addCriterion("receiveId not between", value1, value2, "receiveid");
            return (Criteria) this;
        }

        public Criteria andPictureIsNull() {
            addCriterion("picture is null");
            return (Criteria) this;
        }

        public Criteria andPictureIsNotNull() {
            addCriterion("picture is not null");
            return (Criteria) this;
        }

        public Criteria andPictureEqualTo(String value) {
            addCriterion("picture =", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotEqualTo(String value) {
            addCriterion("picture <>", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureGreaterThan(String value) {
            addCriterion("picture >", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureGreaterThanOrEqualTo(String value) {
            addCriterion("picture >=", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLessThan(String value) {
            addCriterion("picture <", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLessThanOrEqualTo(String value) {
            addCriterion("picture <=", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLike(String value) {
            addCriterion("picture like", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotLike(String value) {
            addCriterion("picture not like", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureIn(List<String> values) {
            addCriterion("picture in", values, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotIn(List<String> values) {
            addCriterion("picture not in", values, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureBetween(String value1, String value2) {
            addCriterion("picture between", value1, value2, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotBetween(String value1, String value2) {
            addCriterion("picture not between", value1, value2, "picture");
            return (Criteria) this;
        }

        public Criteria andSatisfacIsNull() {
            addCriterion("satisfac is null");
            return (Criteria) this;
        }

        public Criteria andSatisfacIsNotNull() {
            addCriterion("satisfac is not null");
            return (Criteria) this;
        }

        public Criteria andSatisfacEqualTo(String value) {
            addCriterion("satisfac =", value, "satisfac");
            return (Criteria) this;
        }

        public Criteria andSatisfacNotEqualTo(String value) {
            addCriterion("satisfac <>", value, "satisfac");
            return (Criteria) this;
        }

        public Criteria andSatisfacGreaterThan(String value) {
            addCriterion("satisfac >", value, "satisfac");
            return (Criteria) this;
        }

        public Criteria andSatisfacGreaterThanOrEqualTo(String value) {
            addCriterion("satisfac >=", value, "satisfac");
            return (Criteria) this;
        }

        public Criteria andSatisfacLessThan(String value) {
            addCriterion("satisfac <", value, "satisfac");
            return (Criteria) this;
        }

        public Criteria andSatisfacLessThanOrEqualTo(String value) {
            addCriterion("satisfac <=", value, "satisfac");
            return (Criteria) this;
        }

        public Criteria andSatisfacLike(String value) {
            addCriterion("satisfac like", value, "satisfac");
            return (Criteria) this;
        }

        public Criteria andSatisfacNotLike(String value) {
            addCriterion("satisfac not like", value, "satisfac");
            return (Criteria) this;
        }

        public Criteria andSatisfacIn(List<String> values) {
            addCriterion("satisfac in", values, "satisfac");
            return (Criteria) this;
        }

        public Criteria andSatisfacNotIn(List<String> values) {
            addCriterion("satisfac not in", values, "satisfac");
            return (Criteria) this;
        }

        public Criteria andSatisfacBetween(String value1, String value2) {
            addCriterion("satisfac between", value1, value2, "satisfac");
            return (Criteria) this;
        }

        public Criteria andSatisfacNotBetween(String value1, String value2) {
            addCriterion("satisfac not between", value1, value2, "satisfac");
            return (Criteria) this;
        }

        public Criteria andIseffectiveIsNull() {
            addCriterion("iseffective is null");
            return (Criteria) this;
        }

        public Criteria andIseffectiveIsNotNull() {
            addCriterion("iseffective is not null");
            return (Criteria) this;
        }

        public Criteria andIseffectiveEqualTo(String value) {
            addCriterion("iseffective =", value, "iseffective");
            return (Criteria) this;
        }

        public Criteria andIseffectiveNotEqualTo(String value) {
            addCriterion("iseffective <>", value, "iseffective");
            return (Criteria) this;
        }

        public Criteria andIseffectiveGreaterThan(String value) {
            addCriterion("iseffective >", value, "iseffective");
            return (Criteria) this;
        }

        public Criteria andIseffectiveGreaterThanOrEqualTo(String value) {
            addCriterion("iseffective >=", value, "iseffective");
            return (Criteria) this;
        }

        public Criteria andIseffectiveLessThan(String value) {
            addCriterion("iseffective <", value, "iseffective");
            return (Criteria) this;
        }

        public Criteria andIseffectiveLessThanOrEqualTo(String value) {
            addCriterion("iseffective <=", value, "iseffective");
            return (Criteria) this;
        }

        public Criteria andIseffectiveLike(String value) {
            addCriterion("iseffective like", value, "iseffective");
            return (Criteria) this;
        }

        public Criteria andIseffectiveNotLike(String value) {
            addCriterion("iseffective not like", value, "iseffective");
            return (Criteria) this;
        }

        public Criteria andIseffectiveIn(List<String> values) {
            addCriterion("iseffective in", values, "iseffective");
            return (Criteria) this;
        }

        public Criteria andIseffectiveNotIn(List<String> values) {
            addCriterion("iseffective not in", values, "iseffective");
            return (Criteria) this;
        }

        public Criteria andIseffectiveBetween(String value1, String value2) {
            addCriterion("iseffective between", value1, value2, "iseffective");
            return (Criteria) this;
        }

        public Criteria andIseffectiveNotBetween(String value1, String value2) {
            addCriterion("iseffective not between", value1, value2, "iseffective");
            return (Criteria) this;
        }

        public Criteria andReleasedateIsNull() {
            addCriterion("releaseDate is null");
            return (Criteria) this;
        }

        public Criteria andReleasedateIsNotNull() {
            addCriterion("releaseDate is not null");
            return (Criteria) this;
        }

        public Criteria andReleasedateEqualTo(Date value) {
            addCriterionForJDBCDate("releaseDate =", value, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateNotEqualTo(Date value) {
            addCriterionForJDBCDate("releaseDate <>", value, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateGreaterThan(Date value) {
            addCriterionForJDBCDate("releaseDate >", value, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("releaseDate >=", value, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateLessThan(Date value) {
            addCriterionForJDBCDate("releaseDate <", value, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("releaseDate <=", value, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateIn(List<Date> values) {
            addCriterionForJDBCDate("releaseDate in", values, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateNotIn(List<Date> values) {
            addCriterionForJDBCDate("releaseDate not in", values, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("releaseDate between", value1, value2, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("releaseDate not between", value1, value2, "releasedate");
            return (Criteria) this;
        }

        public Criteria andDrawdateIsNull() {
            addCriterion("drawDate is null");
            return (Criteria) this;
        }

        public Criteria andDrawdateIsNotNull() {
            addCriterion("drawDate is not null");
            return (Criteria) this;
        }

        public Criteria andDrawdateEqualTo(Date value) {
            addCriterionForJDBCDate("drawDate =", value, "drawdate");
            return (Criteria) this;
        }

        public Criteria andDrawdateNotEqualTo(Date value) {
            addCriterionForJDBCDate("drawDate <>", value, "drawdate");
            return (Criteria) this;
        }

        public Criteria andDrawdateGreaterThan(Date value) {
            addCriterionForJDBCDate("drawDate >", value, "drawdate");
            return (Criteria) this;
        }

        public Criteria andDrawdateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("drawDate >=", value, "drawdate");
            return (Criteria) this;
        }

        public Criteria andDrawdateLessThan(Date value) {
            addCriterionForJDBCDate("drawDate <", value, "drawdate");
            return (Criteria) this;
        }

        public Criteria andDrawdateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("drawDate <=", value, "drawdate");
            return (Criteria) this;
        }

        public Criteria andDrawdateIn(List<Date> values) {
            addCriterionForJDBCDate("drawDate in", values, "drawdate");
            return (Criteria) this;
        }

        public Criteria andDrawdateNotIn(List<Date> values) {
            addCriterionForJDBCDate("drawDate not in", values, "drawdate");
            return (Criteria) this;
        }

        public Criteria andDrawdateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("drawDate between", value1, value2, "drawdate");
            return (Criteria) this;
        }

        public Criteria andDrawdateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("drawDate not between", value1, value2, "drawdate");
            return (Criteria) this;
        }

        public Criteria andReleasernameIsNull() {
            addCriterion("releaserName is null");
            return (Criteria) this;
        }

        public Criteria andReleasernameIsNotNull() {
            addCriterion("releaserName is not null");
            return (Criteria) this;
        }

        public Criteria andReleasernameEqualTo(String value) {
            addCriterion("releaserName =", value, "releasername");
            return (Criteria) this;
        }

        public Criteria andReleasernameNotEqualTo(String value) {
            addCriterion("releaserName <>", value, "releasername");
            return (Criteria) this;
        }

        public Criteria andReleasernameGreaterThan(String value) {
            addCriterion("releaserName >", value, "releasername");
            return (Criteria) this;
        }

        public Criteria andReleasernameGreaterThanOrEqualTo(String value) {
            addCriterion("releaserName >=", value, "releasername");
            return (Criteria) this;
        }

        public Criteria andReleasernameLessThan(String value) {
            addCriterion("releaserName <", value, "releasername");
            return (Criteria) this;
        }

        public Criteria andReleasernameLessThanOrEqualTo(String value) {
            addCriterion("releaserName <=", value, "releasername");
            return (Criteria) this;
        }

        public Criteria andReleasernameLike(String value) {
            addCriterion("releaserName like", value, "releasername");
            return (Criteria) this;
        }

        public Criteria andReleasernameNotLike(String value) {
            addCriterion("releaserName not like", value, "releasername");
            return (Criteria) this;
        }

        public Criteria andReleasernameIn(List<String> values) {
            addCriterion("releaserName in", values, "releasername");
            return (Criteria) this;
        }

        public Criteria andReleasernameNotIn(List<String> values) {
            addCriterion("releaserName not in", values, "releasername");
            return (Criteria) this;
        }

        public Criteria andReleasernameBetween(String value1, String value2) {
            addCriterion("releaserName between", value1, value2, "releasername");
            return (Criteria) this;
        }

        public Criteria andReleasernameNotBetween(String value1, String value2) {
            addCriterion("releaserName not between", value1, value2, "releasername");
            return (Criteria) this;
        }

        public Criteria andReceivenameIsNull() {
            addCriterion("receiveName is null");
            return (Criteria) this;
        }

        public Criteria andReceivenameIsNotNull() {
            addCriterion("receiveName is not null");
            return (Criteria) this;
        }

        public Criteria andReceivenameEqualTo(String value) {
            addCriterion("receiveName =", value, "receivename");
            return (Criteria) this;
        }

        public Criteria andReceivenameNotEqualTo(String value) {
            addCriterion("receiveName <>", value, "receivename");
            return (Criteria) this;
        }

        public Criteria andReceivenameGreaterThan(String value) {
            addCriterion("receiveName >", value, "receivename");
            return (Criteria) this;
        }

        public Criteria andReceivenameGreaterThanOrEqualTo(String value) {
            addCriterion("receiveName >=", value, "receivename");
            return (Criteria) this;
        }

        public Criteria andReceivenameLessThan(String value) {
            addCriterion("receiveName <", value, "receivename");
            return (Criteria) this;
        }

        public Criteria andReceivenameLessThanOrEqualTo(String value) {
            addCriterion("receiveName <=", value, "receivename");
            return (Criteria) this;
        }

        public Criteria andReceivenameLike(String value) {
            addCriterion("receiveName like", value, "receivename");
            return (Criteria) this;
        }

        public Criteria andReceivenameNotLike(String value) {
            addCriterion("receiveName not like", value, "receivename");
            return (Criteria) this;
        }

        public Criteria andReceivenameIn(List<String> values) {
            addCriterion("receiveName in", values, "receivename");
            return (Criteria) this;
        }

        public Criteria andReceivenameNotIn(List<String> values) {
            addCriterion("receiveName not in", values, "receivename");
            return (Criteria) this;
        }

        public Criteria andReceivenameBetween(String value1, String value2) {
            addCriterion("receiveName between", value1, value2, "receivename");
            return (Criteria) this;
        }

        public Criteria andReceivenameNotBetween(String value1, String value2) {
            addCriterion("receiveName not between", value1, value2, "receivename");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}